<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>value</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.JSON">
<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
<link rel="prev" href="boost__json__string_kind_t.html" title="string_kind_t">
<link rel="next" href="boost__json__value/operator_eq_.html" title="value::operator=">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__json__string_kind_t.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__json__value/operator_eq_.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="json.ref.boost__json__value"></a><a class="link" href="boost__json__value.html" title="value">value</a>
</h4></div></div></div>
<p>
        The type used to represent any JSON value.
      </p>
<h5>
<a name="json.ref.boost__json__value.h0"></a>
        <span class="phrase"><a name="json.ref.boost__json__value.synopsis"></a></span><a class="link" href="boost__json__value.html#json.ref.boost__json__value.synopsis">Synopsis</a>
      </h5>
<p>
        Defined in header <code class="literal">&lt;<a href="https://github.com/cppalliance/json/blob/master/include/boost/json/value.hpp" target="_top">boost/json/value.hpp</a>&gt;</code>
      </p>
<pre class="programlisting"><span class="keyword">class</span> <span class="identifier">value</span>
</pre>
<h5>
<a name="json.ref.boost__json__value.h1"></a>
        <span class="phrase"><a name="json.ref.boost__json__value.types"></a></span><a class="link" href="boost__json__value.html#json.ref.boost__json__value.types">Types</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody><tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/allocator_type.html" title="value::allocator_type">allocator_type</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  The type of <span class="emphasis"><em>Allocator</em></span> returned by <a class="link" href="boost__json__value/get_allocator.html" title="value::get_allocator"><code class="computeroutput"><span class="identifier">get_allocator</span></code></a>.
                </p>
              </td>
</tr></tbody>
</table></div>
<h5>
<a name="json.ref.boost__json__value.h2"></a>
        <span class="phrase"><a name="json.ref.boost__json__value.member_functions"></a></span><a class="link" href="boost__json__value.html#json.ref.boost__json__value.member_functions">Member
        Functions</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/as_array.html" title="value::as_array">as_array</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <a class="link" href="boost__json__array.html" title="array"><code class="computeroutput"><span class="identifier">array</span></code></a>, or throw an exception.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/as_bool.html" title="value::as_bool">as_bool</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="keyword">bool</span></code>,
                  or throw an exception. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="keyword">bool</span></code>,
                  or throw an exception.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/as_double.html" title="value::as_double">as_double</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="keyword">double</span></code>,
                  or throw an exception. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="keyword">double</span></code>,
                  or throw an exception.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/as_int64.html" title="value::as_int64">as_int64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">int64_t</span></code>,
                  or throw an exception. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">int64_t</span></code>,
                  or throw an exception.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/as_object.html" title="value::as_object">as_object</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">object</span></code>,
                  or throw an exception.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/as_string.html" title="value::as_string">as_string</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">string</span></code>,
                  or throw an exception.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/as_uint64.html" title="value::as_uint64">as_uint64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span></code>,
                  or throw an exception. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span></code>,
                  or throw an exception.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/at.html" title="value::at">at</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Access an element, with bounds checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/at_pointer.html" title="value::at_pointer">at_pointer</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Access an element via JSON Pointer.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_array.html" title="value::emplace_array">emplace_array</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to an <a class="link" href="boost__json__array.html" title="array"><code class="computeroutput"><span class="identifier">array</span></code></a>, changing the kind
                  and replacing the contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_bool.html" title="value::emplace_bool">emplace_bool</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to a <code class="computeroutput"><span class="keyword">bool</span></code>,
                  changing the kind and replacing the contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_double.html" title="value::emplace_double">emplace_double</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to a <code class="computeroutput"><span class="keyword">double</span></code>,
                  changing the kind and replacing the contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_int64.html" title="value::emplace_int64">emplace_int64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">int64_t</span></code>,
                  changing the kind and replacing the contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_null.html" title="value::emplace_null">emplace_null</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Change the kind to null, discarding the previous contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_object.html" title="value::emplace_object">emplace_object</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to an <a class="link" href="boost__json__object.html" title="object"><code class="computeroutput"><span class="identifier">object</span></code></a>, changing the kind
                  and replacing the contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_string.html" title="value::emplace_string">emplace_string</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to a <a class="link" href="boost__json__string.html" title="string"><code class="computeroutput"><span class="identifier">string</span></code></a>, changing the kind
                  and replacing the contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/emplace_uint64.html" title="value::emplace_uint64">emplace_uint64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span></code>,
                  changing the kind and replacing the contents.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/find_pointer.html" title="value::find_pointer">find_pointer</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Access an element via JSON Pointer.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_allocator.html" title="value::get_allocator">get_allocator</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return the associated <a class="link" href="boost__json__memory_resource.html" title="memory_resource"><code class="computeroutput"><span class="identifier">memory_resource</span></code></a>.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_array.html" title="value::get_array">get_array</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">array</span></code>,
                  without checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_bool.html" title="value::get_bool">get_bool</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="keyword">bool</span></code>,
                  without checking. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="keyword">bool</span></code>,
                  without checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_double.html" title="value::get_double">get_double</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="keyword">double</span></code>,
                  without checking. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="keyword">double</span></code>,
                  without checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_int64.html" title="value::get_int64">get_int64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">int64_t</span></code>,
                  without checking. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">int64_t</span></code>,
                  without checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_object.html" title="value::get_object">get_object</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">object</span></code>,
                  without checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_string.html" title="value::get_string">get_string</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">string</span></code>,
                  without checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/get_uint64.html" title="value::get_uint64">get_uint64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a reference to the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span></code>,
                  without checking. <br> <span class="silver">—</span><br>
                  Return the underlying <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span></code>,
                  without checking.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/if_array.html" title="value::if_array">if_array</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return an <a class="link" href="boost__json__array.html" title="array"><code class="computeroutput"><span class="identifier">array</span></code></a> pointer if this
                  is an array, else return <code class="computeroutput"><span class="keyword">nullptr</span></code>
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/if_bool.html" title="value::if_bool">if_bool</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a <code class="computeroutput"><span class="keyword">bool</span></code> pointer
                  if this is a boolean, else return <code class="computeroutput"><span class="keyword">nullptr</span></code>
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/if_double.html" title="value::if_double">if_double</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a <code class="computeroutput"><span class="keyword">double</span></code> pointer
                  if this is a double, else return <code class="computeroutput"><span class="keyword">nullptr</span></code>
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/if_int64.html" title="value::if_int64">if_int64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return an <code class="computeroutput"><span class="identifier">int64_t</span></code>
                  pointer if this is a signed integer, else return <code class="computeroutput"><span class="keyword">nullptr</span></code>
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/if_object.html" title="value::if_object">if_object</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return an <a class="link" href="boost__json__object.html" title="object"><code class="computeroutput"><span class="identifier">object</span></code></a> pointer if this
                  is an object, else return <code class="computeroutput"><span class="keyword">nullptr</span></code>
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/if_string.html" title="value::if_string">if_string</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a <a class="link" href="boost__json__string.html" title="string"><code class="computeroutput"><span class="identifier">string</span></code></a> pointer if this
                  is a string, else return <code class="computeroutput"><span class="keyword">nullptr</span></code>
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/if_uint64.html" title="value::if_uint64">if_uint64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return a <code class="computeroutput"><span class="identifier">uint64_t</span></code>
                  pointer if this is an unsigned integer, else return <code class="computeroutput"><span class="keyword">nullptr</span></code>
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_array.html" title="value::is_array">is_array</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if this
                  is an array.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_bool.html" title="value::is_bool">is_bool</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if this
                  is a bool.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_double.html" title="value::is_double">is_double</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if this
                  is a double.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_int64.html" title="value::is_int64">is_int64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if this
                  is a signed integer.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_null.html" title="value::is_null">is_null</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Returns true if this is a null.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_number.html" title="value::is_number">is_number</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Returns true if this is a number.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_object.html" title="value::is_object">is_object</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if this
                  is an object.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_primitive.html" title="value::is_primitive">is_primitive</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Returns true if this is not an array or object.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_string.html" title="value::is_string">is_string</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if this
                  is a string.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_structured.html" title="value::is_structured">is_structured</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Returns true if this is an array or object.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/is_uint64.html" title="value::is_uint64">is_uint64</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if this
                  is a unsigned integer.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/kind.html" title="value::kind">kind</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Returns the kind of this JSON value.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/operator_eq_.html" title="value::operator=">operator=</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Assignment. <br> <span class="silver">—</span><br> Copy
                  assignment. <br> <span class="silver">—</span><br> Move
                  assignment.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/storage.html" title="value::storage">storage</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return the memory resource associated with the value.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/swap.html" title="value::swap">swap</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Swap the given values.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/to_number.html" title="value::to_number">to_number</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return the stored number cast to an arithmetic type.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/value.html" title="value::value">value</a> <span class="silver">[constructor]</span></strong></span>
                </p>
              </td>
<td>
                <p>
                  Default constructor. <br> <span class="silver">—</span><br>
                  Constructor. <br> <span class="silver">—</span><br> Pilfer
                  constructor. <br> <span class="silver">—</span><br> Copy
                  constructor. <br> <span class="silver">—</span><br> Move
                  constructor. <br> <span class="silver">—</span><br> Construct
                  a null. <br> <span class="silver">—</span><br> Construct
                  a bool. <br> <span class="silver">—</span><br> Construct
                  a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">int64_t</span></code>. <br> <span class="silver">—</span><br>
                  Construct a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span></code>.
                  <br> <span class="silver">—</span><br> Construct a <code class="computeroutput"><span class="keyword">double</span></code>. <br> <span class="silver">—</span><br>
                  Construct a <a class="link" href="boost__json__string.html" title="string"><code class="computeroutput"><span class="identifier">string</span></code></a>. <br> <span class="silver">—</span><br> Construct an <a class="link" href="boost__json__array.html" title="array"><code class="computeroutput"><span class="identifier">array</span></code></a>. <br> <span class="silver">—</span><br> Construct an <a class="link" href="boost__json__object.html" title="object"><code class="computeroutput"><span class="identifier">object</span></code></a>. <br> <span class="silver">—</span><br> Construct from an initializer-list.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/_dtor_value.html" title="value::~value">~value</a> <span class="silver">[destructor]</span></strong></span>
                </p>
              </td>
<td>
                <p>
                  Destructor.
                </p>
              </td>
</tr>
</tbody>
</table></div>
<h5>
<a name="json.ref.boost__json__value.h3"></a>
        <span class="phrase"><a name="json.ref.boost__json__value.friends"></a></span><a class="link" href="boost__json__value.html#json.ref.boost__json__value.friends">Friends</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/operator_not__eq_.html" title="value::operator!=">operator!=</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if two
                  values are not equal.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/operator_eq__eq_.html" title="value::operator==">operator==</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Return <code class="computeroutput"><span class="keyword">true</span></code> if two
                  values are equal.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__value/swap.html" title="value::swap">swap</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Swap the given values.
                </p>
              </td>
</tr>
</tbody>
</table></div>
<h5>
<a name="json.ref.boost__json__value.h4"></a>
        <span class="phrase"><a name="json.ref.boost__json__value.description"></a></span><a class="link" href="boost__json__value.html#json.ref.boost__json__value.description">Description</a>
      </h5>
<p>
        This is a <a href="https://en.cppreference.com/w/cpp/concepts/regular" target="_top"><span class="emphasis"><em>Regular</em></span></a>.
        <span class="emphasis"><em>Regular</em></span> type which works like a variant of the basic
        JSON data types: array, object, string, number, boolean, and null.
      </p>
<h5>
<a name="json.ref.boost__json__value.h5"></a>
        <span class="phrase"><a name="json.ref.boost__json__value.thread_safety"></a></span><a class="link" href="boost__json__value.html#json.ref.boost__json__value.thread_safety">Thread
        Safety</a>
      </h5>
<p>
        Distinct instances may be accessed concurrently. Non-const member functions
        of a shared instance may not be called concurrently with any other member
        functions of that instance.
      </p>
<p>
        Convenience header <code class="literal">&lt;<a href="https://github.com/cppalliance/json/blob/master/include/boost/json.hpp" target="_top">boost/json.hpp</a>&gt;</code>
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2019, 2020 Vinnie Falco<br>Copyright © 2020 Krystian Stasiowski<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__json__string_kind_t.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__json__value/operator_eq_.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
